#!/bin/zsh

DOC_PATH='./manuscript/latex/'

cd $DOC_PATH

xelatex -synctex=1 -interaction=nonstopmode -file-line-error Algorithm-Leetcode-Study-Book

biber Algorithm-Leetcode-Study-Book.bcf

for i in {1..3}
do
xelatex -synctex=1 -interaction=nonstopmode -file-line-error Algorithm-Leetcode-Study-Book
done

cd -